home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Library / Manuels & Misc / Assembly / AOA.ZIP / CH03 / EX7S.X86 < prev    next >
Encoding:
Text File  |  1996-02-02  |  167 b   |  19 lines

  1.     mov    bx, 1000
  2.     mov    cx, 10
  3. a:    mov    dx, 0
  4.     cmp    ax, 8000
  5.     jb    b
  6.     mov    dx, 1
  7. b:    mov    [bx], dx
  8.     add    bx, 1
  9.     add    ax, ax
  10.     sub    cx, 1
  11.     cmp    cx, 0
  12.     ja    a
  13.     jmp    0
  14.  
  15.  
  16.  
  17.  
  18.  
  19.